<?php
/*
 * @Date: 2021-05-10 00:21:36
 * @Author: yukun
 * @LastEditors: yukun
 * @LastEditTime: 2021-05-10 00:25:00
 * @FilePath: /design-patterns-study/适配器模式/Go.php
 * @Description: 
 */

require "Tmall.php";
require "Jd.php";
require "AdapterTmall.php";
require "AdapterJd.php";

$orderDetail = AdapterTmall::getOrderDetail();
print_r($orderDetail);

$orderDetail = AdapterJd::getOrderDetail();
print_r($orderDetail);